package org.jeecg.modules.basic.worker.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.basic.worker.entity.LwgyMaterialWorker;
import org.jeecg.modules.basic.worker.entity.LwgyMaterialWorkerUsed;


import java.util.List;

/**
 * @Description: 物料管理退库表
 * @Author: jeecg-boot
 * @Date:   2021-04-06
 * @Version: V1.0
 */
public interface LwgyMaterialWorkerUsedMapper extends BaseMapper<LwgyMaterialWorkerUsed> {



    List<LwgyMaterialWorkerUsed> queryPageListCustom(Page<LwgyMaterialWorkerUsed> page, @Param(Constants.WRAPPER) QueryWrapper<LwgyMaterialWorkerUsed> queryWrapper);

    /*查看历史记录*/
    List<LwgyMaterialWorkerUsed> queryPageListHistoryCustom(Page<LwgyMaterialWorkerUsed> page, @Param(Constants.WRAPPER) QueryWrapper<LwgyMaterialWorkerUsed> queryWrapper, @Param("id")String id);






}
